Extract Query Results

{ extractQueryResult }

Runs a content item and extracts the raw query result data into the specified format (CSV, JSON, XML).

Method

/API/query/extractQueryResult

  • API Section: /API/query
  • API Version: 1.0
  • Method operates via POST actions only.
  • NOTE: API 1.0 methods are now deprecated. Use API 2.0 methods instead

    Input Parameters

    Name

    data

    Object Type

    Description

    The query export object used to specify how to extract query results.

    Output Response

    Successful Result Code

    200

    Description of Response Type

    successful operation

    Notes

    Queries are extracted in flattened tabular format – and do not represent the cartesian of the data. Multiple queries can be extracted into XML or JSON formats only. The CSV option is only available for single queries running from Discovery content.